dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05b8af8
)
The siteinfo API uses '' as an attribute value, not `true`.
author
C. Scott Ananian
<cscott@cscott.net>
Tue, 17 Jun 2014 14:51:26 +0000
(10:51 -0400)
committer
C. Scott Ananian
<cscott@cscott.net>
Tue, 17 Jun 2014 14:54:15 +0000
(10:54 -0400)
Bug: 66723
Change-Id: Ibef772a72bac6b700ba2a3725832f50b057bf503
includes/api/ApiQuerySiteinfo.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiQuerySiteinfo.php
b/includes/api/ApiQuerySiteinfo.php
index
ca7cc21
..
bb83110
100644
(file)
--- a/
includes/api/ApiQuerySiteinfo.php
+++ b/
includes/api/ApiQuerySiteinfo.php
@@
-401,7
+401,7
@@
class ApiQuerySiteinfo extends ApiQueryBase {
}
$val['url'] = wfExpandUrl( $row['iw_url'], PROTO_CURRENT );
if (substr( $row['iw_url'], 0, 2) == '//') {
- $val['protorel'] =
true
;
+ $val['protorel'] =
''
;
}
if ( isset( $row['iw_wikiid'] ) ) {
$val['wikiid'] = $row['iw_wikiid'];